//
//  EMSLearnedSkillFieldCell.h
//  EVE Mac Suite
//
//  Created by Vadim Lozko on 2/4/09.
//  Copyright 2009 __Vadim__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "EMSGeneralUtils.h"
#import "EMSSkillTrainingInfo.h"

@class EVECDLearnedSkill;
@class EVECDLearnedGroup;

@interface EMSLearnedSkillFieldCell : NSTextFieldCell {
	int level;
	int rank;
	int skillPointsLearned;
	int percentCompleted;
	
	float leftSide;
	float rightSide;
	float top;
	float bottom;
	float height;
	float width;
	
	EVECDLearnedSkill* learnedSkill;
	EVECDLearnedGroup* learnedGroup;
}

@property (assign) EVECDLearnedSkill* learnedSkill;
@property (assign) EVECDLearnedGroup* learnedGroup;

-(NSColor*)stringColor;
-(NSDictionary*)boldStringAttributesWithColor:(NSColor*)stringColor;
-(NSDictionary*)regularStringAttributesWithColor:(NSColor*)stringColor;
-(void)drawRegularString:(NSString*)aName atPoint:(NSPoint)point;
-(void)drawBoldString:(NSString*)aName atPoint:(NSPoint)point;
-(NSString*)formattedSPStringForPoints:(int)currPoints level:(int)aLevel rank:(int)aRank;
-(void)drawName;
-(void)drawRank;
-(void)drawSkillPointsString;
-(void)drawLevel;
-(void)drawPercentCompleted;
-(void)drawBars;

@end
